package com.wys.study.servicea.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author wuyanshen
 * @date 2020-03-13 10:12 下午
 * @discription 描述
 */
@FeignClient(value = "service-b")
public interface ServiceBClient {

    @GetMapping("add")
    String add(@RequestParam("money") int money, @RequestParam("username") String username);
}
